package com.finance.base.constant;

/**
 * 常量定义
 */
public class PatternConstants {
    //数值型
    public final static String PATTERN_NUMBER ="^\\d*$" ;
    //最多两位小数点 Two decimal point
    public final static String PATTERN_NUMBER_TWO_DECIMAL_POINT ="^\\d*([.]\\d{1,2})?$" ;
    //只能是0或者1
    public final static String PATTERN_NUMBER_ONE_OR_TWO ="^[01]{1}$" ;
    //金额可负数，两位小数
    public final static String PATTERN_DECIMAIL="^\\-?[0-9]+(\\.[0-9]{1,2})?$";

}